package cn.tedu.medicalpath.employee.mapper;

import cn.tedu.medicalpath.employee.pojo.dto.EmployeeQuery;
import cn.tedu.medicalpath.employee.pojo.entity.Employee;
import cn.tedu.medicalpath.employee.pojo.vo.EmployeeVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper {

    List<EmployeeVO> selectEmployee(EmployeeQuery employeeQuery);

    void insert(Employee employee);

    void update(Employee employee);

    void delete(Integer id);

    Employee selectByName(String name);
}
